package com.itany.corejava.code07_面向对象.继承;

/**
 * @author: 石小俊
 * @date: 2023年03月08日 9:31
 * @version: 1.0
 */
public class WoMan extends Person{

    // 颜值,取值范围:0-100
    private int appearance;

    public int getAppearance() {
        return appearance;
    }

    public void setAppearance(int appearance) {
        this.appearance = appearance;
    }

    public void shopping(){
        System.out.println("我是一个女人,我的颜值可以达到"+appearance+"分,负责貌美如花,没事逛逛街,购购物");
    }

}
